<?php

Route::middleware(['auth:api'])->group(function () {
    // 币币账户列表
    Route::get('spot', 'AccountController@index');
    // 资金流水列表
    Route::get('capitalflow', 'AccountCapitalflowController@index');
    // 币币资产估值
    Route::get('top', 'AccountController@top');

    // 充值记录
//    Route::get('recharge/{coin?}', 'RechargeController@index');

    // 提现记录
//    Route::get('withdraw/{coin?}', 'WithdrawController@index');
    // 申请提现
//    Route::post('withdraw', 'WithdrawController@store')->middleware('tfaAll');

    // 地址列表
//    Route::get('address/{coin?}', 'AddressController@index');
    // 添加地址
//    Route::post('address', 'AddressController@store')->middleware('tfa');
    // 删除地址
//    Route::delete('address/{address}', 'AddressController@destroy');

    // DSE收益币划转（收益币账户->交易账户）
    Route::get('transferOut', 'TransferController@index');
    // DSE收益币划转（收益币账户->交易账户）
    Route::post('transferOut', 'TransferController@transfer');
});
